package com.cx.mapper;

import com.cx.entity.PUser;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PUser record);

    int insertOrUpdate(PUser record);

    int insertOrUpdateSelective(PUser record);

    int insertSelective(PUser record);

    PUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PUser record);

    int updateByPrimaryKey(PUser record);

    int updateBatch(List<PUser> list);

    int batchInsert(@Param("list") List<PUser> list);

    PUser login(PUser login);
}